<form name="editForm">
	<div class="form-group">
		<div class="col-md-12 form-item">
			<div class="col-sm-3 col-md-3 form-title"><span style="color:red;">*</span>员工：</div>
			<div class="col-sm-8 col-md-8 form-input" ng-class="{ 'has-error' : editForm.employeeName.$dirty && editForm.employeeName.$invalid }">
			   <div class="input-group">
			    <input name="employeeName" 
						   type="text" class="form-control" disabled required
						   ng-model="{true:'无',
									  false:'(' + editModel.lactation.employeeNo + ')'+editModel.lactation.chineseName}
									  [editModel.lactation.employeeId==null]">
					<span class="input-group-btn">
						<button type="button" 
							data-toggle="modal" 
							ng-click="editModel.chooseDelete()"
							class="btn btn-danger btn-primary"
							data-backdrop="static">清空</button>
						<button type="button" 
							data-toggle="modal" 
							class="btn btn-primary" 
							data-backdrop="static" 
							ng-click="editModel.chooseUpde()">选择</button>
					</span>
			  	</div>
			</div>
		</div>
		<div class="col-md-12 form-item">
			<div class="col-sm-3 col-md-3 form-title"><span style="color:red;">*</span>出生日期：</div>
			<div class="col-sm-8 col-md-8 form-input" ng-class="{ 'has-error' : editForm.hbornStartDate.$dirty && editForm.hbornStartDate.$invalid }">
			   <div class="input-group">
						<input name="hbornStartDate" 
							   ng-model="editModel.lactation.hbornStartDate" 
							   ng-change="editModel.dateChange()"
							   class="form-control datetime-picker" 
							   type="text"
							   maxLength="10"
							   z-datepicker-popup="{{editModel.format}}"
							   ng-click="editModel.editHbornStartDateOpen($event)"
							   is-open="editModel.editHbornStartDateOpnened"
							   datepicker-options="editModel.dateOptions"
						       close-text="Close"
						       required
						       readonly
						       >
						<span class="input-group-addon cursorPointer" ng-click="editModel.editHbornStartDateOpen($event)"><i class="fa-calendar"></i></span>
				</div>
			</div>
		</div>
		<div class="col-md-12 form-item">
			<div class="col-sm-3 col-md-3 form-title">假期结束日期：</div>
			<div class="col-sm-8 col-md-8 form-input">
			   <input name="endDate" type="text" maxLength="10" z-datepicker-popup="{{editModel.format}}" datepicker-options="editModel.dateOptions" class="form-control datetime-picker"ng-model="editModel.lactation.endDate" required readonly>
			</div>
		</div>
		<div class="col-md-12 form-item">
			<div class="col-sm-3 col-md-3 form-title"><span style="color:red;">*</span>每日休假时长：</div>
			<div class="col-sm-1 col-md-1 form-input" ng-class="{ 'has-error' : editForm.hours.$dirty && editForm.hours.$invalid}">
			   <input name="hours"  ng-pattern = "/^[1-9]\d*$/" class="form-control"ng-model="editModel.lactation.hours" required>
			</div>
			<div class="col-sm-1 col-md-1 form-title">小时</div>
		</div>
	</div>
</form>
